home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmigaPlus / AmigaOS / Aplus_Dev / AP-Website / links / admin / setup.php < prev    next >
Encoding:
PHP Script  |  2002-10-28  |  2.7 KB  |  68 lines

  1. <?
  2. // *******************************************************************
  3. //  admin/setup.php
  4. // *******************************************************************
  5.  
  6. include("../include/config.php");
  7. include("../include/functions.php");
  8.  
  9. include("../include/common.php");
  10. $language = $gl["Language"];
  11.  
  12. include("../include/lang/$language.php");
  13.  
  14. include("../include/session.php");
  15. session_start();
  16. ?>
  17. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  18. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
  19. <html>
  20. <head>
  21. <title></title>
  22. <link rel = "stylesheet" type = "text/css" href = "style.css" />
  23. </head>
  24. <?=$adm_body?>
  25. <table cellspacing="0" cellpadding="5" border="1" align="center" width="100%">
  26. <tr>
  27.     <td class="theader">These are the short install/upgrade instructions.  For a more complete version, go to <a href="http://docs.phplinks.org/" target="_self">http://docs.phplinks.org/</a>.</td>
  28. </tr>
  29. </table><br />
  30. <table cellspacing="0" cellpadding="5" border="1" align="center" width="100%">
  31. <tr>
  32.     <td class="theader">Fresh Install:</td>
  33. </tr>
  34. <tr>
  35.     <td class="text">
  36.     <br />
  37.     <ol>
  38.         <li>Upload files.</li>
  39.         <li>Create a database:<br/>mysql> create database phpLinks2;</li>
  40.         <li>Create tables and insert initial data from <a href="phpLinks2.sql" target="_blank">phpLinks2.sql</a>.  If your webhost only allows one MySQL database, then you can change the table names so they don't conflict with any existing tables.</li>
  41.         <li>Rename include/config.php-dist to config.php.  Edit as needed.  We do not distribute a file named 'config.php', only a file named config.php-dist.  You must rename it as config.php to get phpLinks to work.</li>
  42.         <li>Go to http://yourdomain.com/phpLinks/admin/.</li>
  43.         <li>Click <a href="configuration.php?<?=session_name()?>=<?=session_id()?>">Configuration</a> and setup final variables.</li>
  44.     </ol></td>
  45. </tr>
  46. <tr>
  47.     <td class="theader">Upgrade From 2.x:</td>
  48. </tr>
  49. <tr>
  50.     <td class="text">
  51.     <br />
  52.     <ol>
  53.         <li>Backup your current database.</li>
  54.         <li>Upload phpLinks files to a new temporary directory. Overwriting old phpLinks files is not recommended.</li>
  55.         <li>Rename include/config.php-dist to config.php.  Edit as needed.</li>
  56.         <li>Perform latest database changes in <a href="upgrade.sql" target="_blank">upgrade.sql</a>.  Please note you should not source the entire file in, just the section for your upgrade version.  Open the file and read it first.</li>
  57.         <li>Go to http://yourdomain.com/phpLinks/admin/.</li>
  58.     </ol>
  59.     Special:
  60.     <ul>
  61.         <li>To go from 2.1.1 to 2.1.2 you must run <a href="upgrade/convert_related_2.1.1-2.1.2.php" target="_self">convert_related_2.1.1-2.1.2.php</a>.</li>
  62.     </ul>
  63.     </td>
  64. </tr>
  65. </table>
  66. </body>
  67. </html>
  68.